<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="css/jquery.mobile-1.3.1.css" />
<link rel="stylesheet" type="text/css" href="css/login.css" />
<link rel="stylesheet"  href="css/datepicker.css" /> 
	<script src="http://code.jquery.com/jquery-1.7.1.min.js"></script>
	<script>
		//reset type=date inputs to text
		$( document ).bind( "mobileinit", function(){
			$.mobile.page.prototype.options.degradeInputs.date = true;
		});	
		var date = new Date();
	</script>
	<script src="jQuery.ui.datepicker.js"></script>
	<script src="jquery.ui.datepicker.mobile.js"></script>
		<script src="nu.js"></script>
	<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
</head>
<body>
 <section id="insertPlanPage" data-role="page"data-add-back-btn="true"> 
	<header data-role="header" data-position="fixed">
	<a href="menu.nu" data-role="button" class="ui-btn-right" data-icon="home">Home</a>
	<h1 style="text-transform: uppercase;">New Plan</h1>
	</header>
      <div class="content" data-role="content">
         <form action="insertPlan.nu" method="post" id="insertPlanForm">
         	Plan 제목
	     	    <input type="text" id="nu_plan_title" name="nu_plan_title">
 			Plan 시작일
	     	    <input type="date" id="nu_plan_start_date" name="nu_plan_start_date">
	     	Plan 종료일
	     	    <input type="date" id="nu_plan_end_date" name="nu_plan_end_date">
	     	Plan 내용
	     	    <textarea id="nu_plan_content" name="nu_plan_content"></textarea>
	     	    
 		<input type="hidden" name="id" value="${sessionScope.login.id }">
 		<input type="hidden" name="group_type" value="${param.group_type}">
 		<input type="hidden" name="group_id" value="${param.group_id}">
 		<input type="submit" value="계획 작성">
		</form>
      </div>
    <footer data-role="footer" data-position="fixed">
      <h1> MediaProject </h1>
    </footer>
  </section>
</body>
</html>